package com.ys.entity.finance;

import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCW_FinanceSalaryClassify", catalog="Id")
public class TcwFinanceSalaryClassify extends BaseEntity<TcwFinanceSalaryClassify> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="ClassifyName", nameJava="classifyName", typeDataBase="varchar")
	private String classifyName;
	@YsField(nameDataBase="Orgid", nameJava="orgid", typeDataBase="varchar")
	private String orgid;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TcwFinanceSalaryClassify setId(Long id) {
		this.id = id;
		return this;
	}
	public String getClassifyName() {
		return classifyName;
	}
	public TcwFinanceSalaryClassify setClassifyName(String classifyName) {
		this.classifyName = classifyName;
		return this;
	}
	public String getOrgid() {
		return orgid;
	}
	public TcwFinanceSalaryClassify setOrgid(String orgid) {
		this.orgid = orgid;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TcwFinanceSalaryClassify setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TcwFinanceSalaryClassify setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TcwFinanceSalaryClassify setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TcwFinanceSalaryClassify tcwFinanceSalaryClassify(
		String classifyName,
		String orgid,
		Integer status
			) {
		TcwFinanceSalaryClassify entity = new TcwFinanceSalaryClassify();
		entity.setClassifyName(classifyName);
		entity.setOrgid(orgid);
		entity.setStatus(status);
		return entity;
	}
}